package net.thumbtack

import net.thumbtack.steps.EndUserSteps
import net.thumbtack.requirements.Application.Search.SearchByKeyword

using "thucydides"

thucydides.uses_default_base_url "http://82.200.2.19/"
thucydides.uses_steps_from EndUserSteps
thucydides.tests_story SearchByKeyword

scenario "Connect with FB", {
    given "the registrated user is opening the Tallygram page", {
        end_user.is_opening_home_page()
    }
    when "the end user click on button connect and input correctly 'email' and 'password' and click on button sigin", {
        end_user.connect_sigin()
    }
    then "they should see opening page 'Recent Activity", {
       end_user.should_opening_page("Welcome back")
    }
}
